const chalk = require('chalk')
const fs = require('fs')

const d = fs.readFileSync('./01.js')

console.log(d.toString())

const args = Array.prototype.slice.call(process.argv)

console.log(chalk.green('job.js','读取到的命令行参数'))

args.forEach(item => {
  console.log(item)
})